Removing clones from the code
نویسندگان
چکیده
In this paper we discus the elimination of function and class clones from industrial object-oriented code. Clone removal can decrease code size and facilitate maintenance. We eliminate clones by reengineering scenarios that are based on automated restructuring tools. The paper presents examples of clones, reengineering scenarios, and restructuring tools. The usefulness of the approach is demonstrated in a case study
منابع مشابه
Local Independence Transformation and Its Application to Removing Nonduplicate Statements in Code Clones
This paper proposes a new program transformation technique and describes its application to removing nonduplicate statements in code clones while preserving the semantics of the program. Allowing nonduplicate statements in code clones helps in finding larger code clones. However, the nonduplicate statements in code clones may induce unexpected difficulty and complexity when we analyze the softw...
متن کاملIdentifying Refactoring Opportunities for Removing Code Clones with A Metrics-based Approach
متن کامل
An Algorithm for Detecting and Removing Clones in Java Code
This paper proposes a new algorithm for automatically detecting and removing duplicated code in existing Java programs. Its purpose is to improve the structure of small code snippets (as in refactoring), rather than reducing the overall redundancy in huge legacy programs. As such, approaches that favor code clarity over efficiency are introduced. The skeleton of our algorithm is presented and i...
متن کاملA Technique for Identifying and Testing Structural Clones in Large Scale Systems
Clones have played an important role in increasing the software’s maintenance and decreasing the quality. Hence detecting the clones and removing them has been an interesting scenario. Detecting clones not only improves the productivity of software but also enhances re-usability. A number of techniques were presented in the past but they have had there own drawbacks. Efficient algorithms are cr...
متن کاملReview Paper on Implementing Laxical Approach of Clone Detection and Removal for Type-3
Software Systems are evolving by adding new functions and modifying existing functions over time. Through the evolution process, copy paste programming and other processes leads to duplication of data resulting in model clones or code clones. Since clones are believed to reduce the maintainability of software. Several code clone detection techniques and tools have been proposed. This paper prop...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Journal of Software Maintenance
دوره 11 شماره
صفحات -
تاریخ انتشار 1999